//
//  LYMoneyHeaderView.m
//  artist
//
//  Created by Jay_Apple on 16/5/4.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#import "LYMoneyHeaderView.h"

@interface LYMoneyHeaderView ()

@property (weak, nonatomic) IBOutlet UILabel *money;


@end

@implementation LYMoneyHeaderView

- (void)setMoneyValue:(NSString *)moneyValue{

    _moneyValue = [moneyValue copy];

    self.money.text = _moneyValue;
}


- (IBAction)changeCashBtnOnclick:(id)sender {
    
    
    if (self.block) {
        self.block([self.moneyValue doubleValue]);
    }
    
}


@end
